{% extends "./base.html" %}
{% block title %} 学生名单 {% end %}

{% block css %}
{% end %}

{% block js %}
<script src="{{ static_url('student.js') }} " type="text/javascript"></script>
{% end %}


{% block content %}
	<div id="search_div">
		<td><input type="text" name="sno" value=""></td>
		<td><input type="submit" value="搜索" class="button"></td>
	</div>
	<button id="btn-refresh" class="button">刷新</button>
	<button id="btn-new" class="button"> 登记新学生信息</button>
	<div id="dlg-student-form" style="display:none">
	<hr>
	<form id="frm-student">
	    <tr><td>学号：</td>
	    	<td><input type="text" name="sno" value=""></td>
	    </tr>
        <tr><td>姓名：</td>
			<td><input type="text" name="sname" value=""></td>
		</tr>
        <tr><td>性别：</td>
        	<td>
        	<input type="text"  name="ssex" value="" >
        	 &nbsp;&nbsp;&nbsp;&nbsp;
			</td>
		</tr>
		<tr><td>密码: </td><td><input type="password" name="PASSWORD" value=""></td></tr>
        <tr><td>入学时间：</td>
			<td><input type="date" name="rd" value=""></td>
		</tr>
        <tr><td><td> 
        	<input type="submit" value="修改">
        	<button id="btn-student-frm-close">关闭</button>
        </td></tr>
        </table>
	</form>
	</div>
	
	<hr>
	<div id="list">
		<table border=1>
			<thead>
			<tr>
				<th style="width:10rem">学号
				<th style="width:10rem">姓名
				<th style="width:3rem">性别</th>
				<th style="width:10rem">入学时间</th>
				<th style="width:20rem; text-align:left">操作</th>
			</tr>
			</thead>
			<tbody id="list-tbody">
			</tbody> 
		</table>
	</div>
{% end %}
